//
//  MangerCentre.h
//  BCManagerVersion
//
//  Created by 吴 崧 on 14-3-4.
//  Copyright (c) 2014年 Jungle. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface MangerCentre : NSObject<NSCoding>

@property(nonatomic,strong)NSString *auth;
@property(nonatomic,strong)NSNumber *uid;
@property(nonatomic,strong)NSString *passport;
@property(nonatomic,strong)NSString *name;
@property(nonatomic,strong)NSString *avatar;
@property(nonatomic,strong)NSString *tAvatar;
@property(nonatomic,strong)NSString *iphoneId;
@property(nonatomic,strong)NSString *register_time;
@property(nonatomic,strong)NSNumber *score;
@property(nonatomic,strong)NSNumber *verified;//未审核0 审核通过1 审核拒绝2
@property(nonatomic,strong)NSNumber *gender;//? 1男2女？
@property(nonatomic,strong)NSString *age;
@property(nonatomic,strong)NSString *tel;
@property(nonatomic,strong)NSString *modified_time;
@property(nonatomic,strong)NSString *bankMain;
@property(nonatomic,strong)NSString *bankSub1;
@property(nonatomic,strong)NSString *bankSub2;
@property(nonatomic,strong)NSMutableArray *workType;
@property(nonatomic,strong)NSDictionary *workTime;
@property(nonatomic,strong)NSString *workTypeString;
@property(nonatomic,strong)NSString *workTimeString;
@property(nonatomic, strong)NSNumber* workTimeId;
@property(nonatomic,strong)NSString *city;
@property(nonatomic,strong)NSString *cityName;
@property(nonatomic, strong) NSString* address;




@property(nonatomic,assign)BOOL didLogin;
@property(nonatomic,assign)BOOL canPush;
@property(nonatomic,assign)BOOL canAlert;
@property(nonatomic,assign)BOOL canSound;
@property(nonatomic,assign)BOOL canVibrator;
@property (nonatomic, strong) NSString* reason;
@property (nonatomic, strong) NSNumber* status;
@property (nonatomic, strong) NSString* genderString;

@property (nonatomic, strong) NSString* workType1;
@property (nonatomic, strong) NSString* workType2;
@property (nonatomic, strong) NSString* workType3;


+(instancetype)sharedManager;
-(BOOL)save;

+(void)reloadCache;

-(void)configWithModel:(NSDictionary *)model;

+ (NSArray*)workTimes;
@end
